import HTTP from "@/utils/http"
import { AxiosRequest } from "@/utils/http/types"

const http = new HTTP()

function fetch(params: AxiosRequest): Promise<any> {
  return http.request(params)
}

export default fetch
